package org.misty.practices.classloader;

public class Sample {
    public static void main(String[] args) {
        var appLoader = Sample.class.getClassLoader();
        printInfo(appLoader);

        var platformLoader = appLoader.getParent();
        printInfo(platformLoader);

        var a = platformLoader.getParent();
        printInfo(a);
    }

    public static void printInfo(ClassLoader loader) {
        System.out.println(loader);

        System.out.println();
    }
}
